<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>我的购物车</h1>
<table>
    <thead>
    <tr>
        <th>商品序列</th>
        <th>商品名称</th>
        <th>商品图片</th>
        <th>商品价格</th>
        <th>购买数量</th>
        <th>商品总价</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {% for good in goods %}
    <tr>
        <th>{{forloop.counter}}</th>
        <th>{{good.name}}</th>
        <th>
            <img src={{good.imgsrc}} width="50" height="50">
        </th>
        <th>{{good.price}}</th>
        <th>{{good.buy_count}}</th>
        <th>{{good.allprice}}</th>
    </tr>
    {% endfor %}
    </tbody>
</table>
</body>
</html>